﻿

function ValidData()
{
    $txDaysRecord = $("#" + pageCtrlPrefix + "txDaysRecord");
    if ($.trim($txDaysRecord.val()) != "")
    {
        if (!IsPosInt($.trim($txDaysRecord.val())))
        {
             alert("请输入正确的天数。");
             $txDaysRecord.focus();
             return false;
        }
    }
    
    return true;
}